<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
        <title>模板返利网－买模板返现金，免费装修，淘宝店铺装修模板免费买</title>
        <link rel="stylesheet" type="text/css" href="/Public/default/css/style.css" />
        <link rel="stylesheet" type="text/css" href="/Public/default/css/UserLogin.css" />
        <link rel="stylesheet" type="text/css" href="/Public/default/css/regStep.css" />
        <link rel="stylesheet" type="text/css" href="/Public/css/default.css" />
        <script type="text/javascript" src="__ROOT__/Public/js/jquery.min.js"></script>
        <script type="text/javascript" src="__ROOT__/Public/js/jquery.form.js"></script>
        <script type="text/javascript" src="__ROOT__/Public/js/operamasks-ui.min.js"></script>
        <script src="http://a.tbcdn.cn/s/kissy/1.1.6/seed-min.js"></script>
        <script src="http://a.tbcdn.cn/apps/pamirsshop/wiki/scripts/wiki.js"></script>
    </head>

    <body onload="bhtml()">
        <div id="edit"></div>
        <div id="meng"></div>
        <div id="tips"></div>
        <!--头部-->
        <div class="top">
            <ul>
                <li><a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=496886097&site=qq&menu=yes">售前QQ:496886097</a>；<a target="_blank" href="http://wpa.qq.com/msgrd?v=3&uin=2261356156&site=qq&menu=yes">售后QQ:2261356156</a>
                 <a href="#">网站地图</a> 
                 <a href="javascript:" onClick="window.external.addFavorite('http://www.fanlibm.com','模板反复网')" title="模板反复网">收藏本站</a> 
                 <?php if(empty($_SESSION['userid'])): ?><a href="__APP__/Public/register" class="red">免费注册</a> ¦ 
                 <a href="__APP__/Public/login" class="blue">登录</a> ¦ 
                 <?php else: ?>
                 <a href="__APP__/Public/logout" class="blue">安全退出</a> ¦<?php endif; ?>
                 <a href="__APP__/Index">网站首页</a> ¦ 
                 <a href="#">客服中心</a> ¦ 
                 <a href="#">帮助中心</a></li>
            </ul> 
        </div>
        <!--LOGO-->
        <div class="head">
            <div class="logo"><img src="/Public/default/images/logo.jpg" width="227" height="90" title="返利网" /></div>
            <div class="banner"><img src="/Public/default/images/banner.jpg" width="637" height="109" title="广告" /></div>
        </div>
        <!--导航-->
        <div class="nav">
            <div class="w980">
                <a href="/" <?php if(($module_name == 'Index') and ($action_name == 'index') or ($module_name == 'Public')): ?>class="cur"<?php endif; ?> >首页</a> 
                <a href="__APP__/Temp/index" <?php if(($module_name == 'Temp') and ($action_name == 'index')): ?>class="cur"<?php endif; ?> >装修模板</a> 
                <a href="__APP__/Article/index" <?php if(($module_name == 'Article') and ($action_name == 'index')): ?>class="cur"<?php endif; ?> >开店知识</a> 
                <a href="/" >返利教程（必读）</a> 
                <a href="/" >商业合作</a>               
            </div>
        </div>        
<script type="text/javascript">
            function qbot(){
                $("#tips").hide();
                $("body").css({"overflow":"auto"});
            }
            function query(i){
                var f = $('#formwork option:selected').val();
                var t = $('#trade option:selected').val();
                var c = $('#color option:selected').val();
                var s = $('#sty option:selected').val();
				var r = $('#rate option:selected').val();
                var n = $('#num').val();
                $.get('__URL__/addsty/f/'+f+'/t/'+t+'/c/'+c+'/s/'+s+'/id/'+i+'/n/'+n+'/r/'+r,function(data){
                    if(data == 1){
                        $("#tips").hide();
                        $("body").css({"overflow":"auto"});
                        var h = window.screen.height;
                        var w = window.screen.width;
                        $("#tips").css({"left":(w/2-100)+"px","top":(h/2-100)+"px","display":"block"});
                        $("#tips").html('<div style="font-size:12px; padding:10px;">修改成功</div>').animate({opacity: 'hide'}, 2000);
						document.location.reload();		
                    }
                    if(data == 0){
                        alert("上架后的模板，不允许设置属性为空");
                    }
                });
            }
            function bhtml(){
                var id = '<?php echo ($temp["id"]); ?>';
                $.get("__URL__/qhtml/id/"+id,function(data){
                    $("#ht").html(data);
                });
            }
        </script>

<div id="bd">
    <div class="left1">
        <script type="text/javascript">
	$(document).ready(function(e) {
        $(".userMenu li").mouseover(function(){
			$(this).css("background-color","#FFFAE2");
			});
		 $(".userMenu li").mouseleave(function(){
			$(this).css("background-color","#fff");
			});	
    });
</script>
<div class="usercenter">
    <div class="hd"></div>
    <div class="bd">
        <ul class="userMenu">
            <li><a href="__URL__/index">用户概况</a></li>
            <li><a href="__URL__/update">修改资料</a></li>
            <li><a href="__URL__/changepwd">修改密码</a></li>
            <?php if($_SESSION['type']== 1): ?><li><a href="__URL__/temps">我的模板</a></li><?php endif; ?>
            <li><a href="__URL__/orderlist">我的订单</a></li>
            <li><a href="__URL__/chongzhi">现金充值</a></li>
            <li><a href="__URL__/tixian">提现申请</a></li>
            <li><a href="__URL__/zdmx">账单明细</a></li>
        </ul>
    </div>
</div>

    </div>
    <div class="right1">
    	<div class="form">
        	<script type="text/javascript">		
				$(document).ready(function(e) {
                    $("#tixianForm").validate({
						onkeyup : true,
						rules : {
						  money :{
								  required : true,
								  min : 100 ,
								},
						  alipay :{
							  	required : true
							  },
					      aliname :{
							  	required : true
							  }		
								},
						messages : {
						  money : {
								  required : '不得为空',
								  min : '100元起充',
							 },
						  alipay :{
							  	required : '不得为空'
							  },
					      aliname :{
							  	required : '不得为空'
							  }	
						}
					 });
					$("#alipay").blur(function(){
						if($(this).val()=="") $(this).val("输入收款的支付宝账号").css("color","#999");
						});	
					$("#alipay").focus(function(){
						if($(this).val()=="输入收款的支付宝账号") $(this).val("").css("color","#000");
						});	
					$("#name").blur(function(){
						if($(this).val()=="") $(this).val("输入收款的支付宝账号户主全名").css("color","#999");
						});	
					$("#name").focus(function(){
						if($(this).val()=="输入收款的支付宝账号户主全名") $(this).val("").css("color","#000");
						});		
					$("#tixianForm").submit(function(){
						if($("#alipay").val()=="输入收款的支付宝账号"||$("#name").val()=="输入收款的支付宝账号户主全名") return false;
						});	 
                });		 
				 
			</script>
        	<form action="__URL__/tixian_apply" method="post" id="tixianForm">
            	<div class="title"><i></i><h1>提现到支付宝</h1></div>
                <dl id="chongzhi_tip">
                <dt>提现规则（重要）：</dt>
                <dd>1.最低提现金额10元</dd>
                <dd>2.提现费率1%，即每提现10元，本站扣取0.1元手续费</dd>
                <dd>3.提现申请提交后，将人工审核账号，预计2－3个工作日内到账</dd>
                </dl>
                <ul>
                <li><label>充值金额</label><input type="text" style="margin-right:10px;" id="money" name="money" value="100.00"/><br/></li>     
                <li><label>支付宝账号</label><input type="text" style="margin-right:10px; color:#999;" id="alipay" name="alipay" value="输入收款的支付宝账号"/></li>     
                <li><label>收款人名称</label><input type="text" style="margin-right:10px; color:#999;" id="name" name="aliname" value="输入收款的支付宝账号户主全名"/></li>               
                <li><input type="submit" class="btn" value="立即提现" /></li>
                </ul>
            </form>            
        </div>
        <div class="list J_TWidget" data-widget-type="Tabs" data-widget-config="{
            		'triggerType':'click'
            	}">
                <ul class="ks-switchable-nav">
                	<li class="ks-active">提现记录</li>        
                </ul>
                <div class="contents">
                    <div class="ks-switchable-content">
                    	<div><div class="tixianjilu">
<?php if(!empty($tixianjilu)): ?><div class="list-title">
    	<span class="date">提现日期</span>
        <span class="money">提现金额</span>
        <span class="alipay">收款支付宝</span>
        <span class="aliname">收款人名称</span>
        <span class="status">状态</span>
    </div>
    <?php if(is_array($tixianjilu)): $i = 0; $__LIST__ = $tixianjilu;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?><div class="tixian-item">
    	<span class="date"><?php echo ($v["date"]); ?></span>
        <span class="money"><?php echo ($v["money"]); ?></span>
        <span class="alipay"><?php echo ($v["alipay"]); ?></span>
        <span class="aliname"><?php echo ($v["aliname"]); ?></span>
        <span class="status"><?php if($v["status"] == 1): ?>处理中<?php else: ?>已到账<?php endif; ?></span>
    </div><?php endforeach; endif; else: echo "" ;endif; ?>
<?php else: ?>
	<div class="no-jilu">
    暂时充值记录
    </div><?php endif; ?>
</div>
<style type="text/css">
	.tixianjilu { width:728px; height:auto; overflow:hidden;}
	.tixianjilu .list-title { height:30px; line-height:30px; font-weight:bold; border-bottom:2px solid #eaeaea; margin-bottom:10px;}
	.tixianjilu .tixian-item { height:26px; line-height:26px; cursor:pointer;}
	.tixianjilu span { display:block; float:left;}
	.tixianjilu .date { width:160px; text-align:center; margin-right:10px;}
	.tixianjilu .money { width:60px; text-align:center; margin-right:10px;}
	.tixianjilu .alipay { width:180px; text-align:center; margin-right:10px;}
	.tixianjilu .aliname { width:140px; text-align:center; margin-right:10px;}
	.tixianjilu .status { width:100px; text-align:center;}
</style>
<script type="text/javascript">
	$(document).ready(function(e) {
        $(".tixian-item").mouseover(function(){
			$(this).css("background-color",'#eee');
			});	
		$(".tixian-item").mouseleave(function(){
			$(this).css("background-color",'#fff');
			});	
    });	
</script></div>                       
                    </div>
                </div>               
            </div>
    </div>
</div>
</body>
</html>